home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2606 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Secure from Decompiling??
  5. Date: 22 Jan 1996 08:31:46 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4e0e5iINN5qs@keats.ugrad.cs.ubc.ca>
  8. References: <4djaq2$jd5@earth.superlink.net>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4djaq2$jd5@earth.superlink.net>,
  12. Bob Stewart <rstewart@mars.superlink.net> wrote:
  13. > I have a compiled C program containing a string that I want no one to
  14. >be able to see, even with a decompiler. 
  15. >
  16. >Is there any thing to put in the code that can prevent it from being
  17. >decompiled, or make the decompiled code unintelligle??
  18.  
  19. Not possible. You can only make things tedious and difficult, but that will not
  20. thwart a resourceful and sophisticated enemy.
  21.  
  22. You see, the code must always be intelligible to the CPU, and the actions of a
  23. CPU are neatly deterministic. 
  24.  
  25. Your program will, at some point, need to decrypt the string, and this
  26. execution can be traced.
  27.  
  28. What you can do is never decrypt the string, but this is probably useless to
  29. you :)
  30.  
  31. -- 
  32.  
  33.